import request from '/@/utils/request';

/**hr接口**/
export function dutyApi() {
    return {
        dutyList: (data) => {
            return request({
                url: '/hr/dutyList',
                method: 'POST',
                data,
            });
        }, dutySave: (data) => {
            return request({
                url: '/hr/dutySave',
                method: 'POST',
                data,
            });
        }, dutyDeleted: (data) => {
            return request({
                url: '/hr/dutyDeleted',
                method: 'POST',
                data,
            });
        }
    };
}
